package org.example.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.mbg.model.TRoleEmployee;
import org.example.mbg.model.TRoleEmployeeExample;

public interface TRoleEmployeeMapper {
    long countByExample(TRoleEmployeeExample example);

    int deleteByExample(TRoleEmployeeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TRoleEmployee record);

    int insertSelective(TRoleEmployee record);

    List<TRoleEmployee> selectByExample(TRoleEmployeeExample example);

    TRoleEmployee selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TRoleEmployee record, @Param("example") TRoleEmployeeExample example);

    int updateByExample(@Param("record") TRoleEmployee record, @Param("example") TRoleEmployeeExample example);

    int updateByPrimaryKeySelective(TRoleEmployee record);

    int updateByPrimaryKey(TRoleEmployee record);
}